File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ open class PayloadBuilder {
96
96
return payload [ " iss " ] as? String
97
97
}
98
98
set {
99
- payload [ " iss " ] = newValue as AnyObject ?
99
+ payload [ " iss " ] = newValue
100
100
}
101
101
}
102
102
@@ -105,7 +105,7 @@ open class PayloadBuilder {
105
105
return payload [ " aud " ] as? String
106
106
}
107
107
set {
108
- payload [ " aud " ] = newValue as AnyObject ?
108
+ payload [ " aud " ] = newValue
109
109
}
110
110
}
111
111
@@ -118,7 +118,7 @@ open class PayloadBuilder {
118
118
return nil
119
119
}
120
120
set {
121
- payload [ " exp " ] = newValue? . timeIntervalSince1970 as AnyObject ?
121
+ payload [ " exp " ] = newValue? . timeIntervalSince1970
122
122
}
123
123
}
124
124
@@ -131,7 +131,7 @@ open class PayloadBuilder {
131
131
return nil
132
132
}
133
133
set {
134
- payload [ " nbf " ] = newValue? . timeIntervalSince1970 as AnyObject ?
134
+ payload [ " nbf " ] = newValue? . timeIntervalSince1970
135
135
}
136
136
}
137
137
@@ -144,7 +144,7 @@ open class PayloadBuilder {
144
144
return nil
145
145
}
146
146
set {
147
- payload [ " iat " ] = newValue? . timeIntervalSince1970 as AnyObject ?
147
+ payload [ " iat " ] = newValue? . timeIntervalSince1970
148
148
}
149
149
}
150
150
You can’t perform that action at this time.
0 commit comments