-
Notifications
You must be signed in to change notification settings - Fork 1
/
model_backchannel_authentication_response.go
1344 lines (1153 loc) · 44.8 KB
/
model_backchannel_authentication_response.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Authlete API
Authlete API Document.
API version: 2.3.12
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package authlete
import (
"encoding/json"
)
// checks if the BackchannelAuthenticationResponse type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &BackchannelAuthenticationResponse{}
// BackchannelAuthenticationResponse struct for BackchannelAuthenticationResponse
type BackchannelAuthenticationResponse struct {
// The code which represents the result of the API call.
ResultCode *string `json:"resultCode,omitempty"`
// A short message which explains the result of the API call.
ResultMessage *string `json:"resultMessage,omitempty"`
// The next action that the authorization server implementation should take.
Action *string `json:"action,omitempty"`
// The content that the authorization server implementation is to return to the client application. Its format varies depending on the value of `action` parameter.
ResponseContent *string `json:"responseContent,omitempty"`
// The client ID of the client application that has made the backchannel authentication request.
ClientId *int64 `json:"clientId,omitempty"`
// The client ID alias of the client application that has made the backchannel authentication request.
ClientIdAlias *string `json:"clientIdAlias,omitempty"`
// `true` if the value of the client_id request parameter included in the backchannel authentication request is the client ID alias. `false` if the value is the original numeric client ID.
ClientIdAliasUsed *bool `json:"clientIdAliasUsed,omitempty"`
// The name of the client application which has made the backchannel authentication request.
ClientName *string `json:"clientName,omitempty"`
// The scopes requested by the backchannel authentication request. Basically, this property holds the value of the `scope` request parameter in the backchannel authentication request. However, because unregistered scopes are dropped on Authlete side, if the `scope` request parameter contains unknown scopes, the list returned by this property becomes different from the value of the `scope` request parameter. Note that `description` property and `descriptions` property of each `scope` object in the array contained in this property is always null even if descriptions of the scopes are registered.
Scopes []Scope `json:"scopes,omitempty"`
// The names of the claims which were requested indirectly via some special scopes. See [5.4. Requesting Claims using Scope Values](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims) in OpenID Connect Core 1.0 for details.
ClaimNames []string `json:"claimNames,omitempty"`
// The client notification token included in the backchannel authentication request.
ClientNotificationToken *string `json:"clientNotificationToken,omitempty"`
// The list of ACR values requested by the backchannel authentication request. Basically, this property holds the value of the `acr_values` request parameter in the backchannel authentication request. However, because unsupported ACR values are dropped on Authlete side, if the `acr_values` request parameter contains unrecognized ACR values, the list returned by this property becomes different from the value of the `acr_values` request parameter.
Acrs []string `json:"acrs,omitempty"`
// The type of the hint for end-user identification which was included in the backchannel authentication request.
HintType *string `json:"hintType,omitempty"`
// The value of the hint for end-user identification.
Hint *string `json:"hint,omitempty"`
// The value of the `sub` claim contained in the ID token hint included in the backchannel authentication request.
Sub *string `json:"sub,omitempty"`
// The binding message included in the backchannel authentication request.
BindingMessage *string `json:"bindingMessage,omitempty"`
// The binding message included in the backchannel authentication request.
UserCode *string `json:"userCode,omitempty"`
// The flag which indicates whether a user code is required. `true` when both the `backchannel_user_code_parameter` metadata of the client (= Client's `bcUserCodeRequired` property) and the `backchannel_user_code_parameter_supported` metadata of the service (= Service's `backchannelUserCodeParameterSupported` property) are `true`.
UserCodeRequired *bool `json:"userCodeRequired,omitempty"`
// The requested expiry for the authentication request ID (`auth_req_id`).
RequestedExpiry *int32 `json:"requestedExpiry,omitempty"`
// The request context of the backchannel authentication request. It is the value of the request_context claim in the signed authentication request and its format is JSON. request_context is a new claim added by the FAPI-CIBA profile.
RequestContext *string `json:"requestContext,omitempty"`
// The warnings raised during processing the backchannel authentication request.
Warnings []string `json:"warnings,omitempty"`
// The ticket which is necessary to call Authlete's `/auth/token/fail` API or `/auth/token/issue` API. This parameter has a value only if the value of `grant_type` request parameter is `password` and the token request is valid.
Ticket *string `json:"ticket,omitempty"`
// The resources specified by the `resource` request parameters or by the `resource` property in the request object. If both are given, the values in the request object should be set. See \"Resource Indicators for OAuth 2.0\" for details.
Resources []string `json:"resources,omitempty"`
AuthorizationDetails *AuthzDetails `json:"authorizationDetails,omitempty"`
// The attributes of this service that the client application belongs to.
ServiceAttributes []Pair `json:"serviceAttributes,omitempty"`
// The attributes of the client.
ClientAttributes []Pair `json:"clientAttributes,omitempty"`
// The dynamic scopes which the client application requested by the scope request parameter.
DynamicScopes []DynamicScope `json:"dynamicScopes,omitempty"`
DeliveryMode *DeliveryMode `json:"deliveryMode,omitempty"`
GmAction *GrantManagementAction `json:"gmAction,omitempty"`
// the value of the `grant_id` request parameter of the device authorization request. The `grant_id` request parameter is defined in [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html) , which is supported by Authlete 2.3 and newer versions.
GrantId *string `json:"grantId,omitempty"`
Grant *Grant `json:"grant,omitempty"`
// The subject identifying the user who has given the grant identified by the `grant_id` request parameter of the device authorization request. Authlete 2.3 and newer versions support <a href= \"https://openid.net/specs/fapi-grant-management.html\">Grant Management for OAuth 2.0</a>. An authorization request may contain a `grant_id` request parameter which is defined in the specification. If the value of the request parameter is valid, {@link #getGrantSubject()} will return the subject of the user who has given the grant to the client application. Authorization server implementations may use the value returned from {@link #getGrantSubject()} in order to determine the user to authenticate. The user your system will authenticate during the authorization process (or has already authenticated) may be different from the user of the grant. The first implementer's draft of \"Grant Management for OAuth 2.0\" does not mention anything about the case, so the behavior in the case is left to implementations. Authlete will not perform the grant management action when the `subject` passed to Authlete does not match the user of the grant.
GrantSubject *string `json:"grantSubject,omitempty"`
// The entity ID of the client.
ClientEntityId *string `json:"clientEntityId,omitempty"`
// Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
ClientEntityIdUsed *bool `json:"clientEntityIdUsed,omitempty"`
}
// NewBackchannelAuthenticationResponse instantiates a new BackchannelAuthenticationResponse object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewBackchannelAuthenticationResponse() *BackchannelAuthenticationResponse {
this := BackchannelAuthenticationResponse{}
return &this
}
// NewBackchannelAuthenticationResponseWithDefaults instantiates a new BackchannelAuthenticationResponse object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewBackchannelAuthenticationResponseWithDefaults() *BackchannelAuthenticationResponse {
this := BackchannelAuthenticationResponse{}
return &this
}
// GetResultCode returns the ResultCode field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetResultCode() string {
if o == nil || isNil(o.ResultCode) {
var ret string
return ret
}
return *o.ResultCode
}
// GetResultCodeOk returns a tuple with the ResultCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetResultCodeOk() (*string, bool) {
if o == nil || isNil(o.ResultCode) {
return nil, false
}
return o.ResultCode, true
}
// HasResultCode returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasResultCode() bool {
if o != nil && !isNil(o.ResultCode) {
return true
}
return false
}
// SetResultCode gets a reference to the given string and assigns it to the ResultCode field.
func (o *BackchannelAuthenticationResponse) SetResultCode(v string) {
o.ResultCode = &v
}
// GetResultMessage returns the ResultMessage field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetResultMessage() string {
if o == nil || isNil(o.ResultMessage) {
var ret string
return ret
}
return *o.ResultMessage
}
// GetResultMessageOk returns a tuple with the ResultMessage field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetResultMessageOk() (*string, bool) {
if o == nil || isNil(o.ResultMessage) {
return nil, false
}
return o.ResultMessage, true
}
// HasResultMessage returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasResultMessage() bool {
if o != nil && !isNil(o.ResultMessage) {
return true
}
return false
}
// SetResultMessage gets a reference to the given string and assigns it to the ResultMessage field.
func (o *BackchannelAuthenticationResponse) SetResultMessage(v string) {
o.ResultMessage = &v
}
// GetAction returns the Action field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetAction() string {
if o == nil || isNil(o.Action) {
var ret string
return ret
}
return *o.Action
}
// GetActionOk returns a tuple with the Action field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetActionOk() (*string, bool) {
if o == nil || isNil(o.Action) {
return nil, false
}
return o.Action, true
}
// HasAction returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasAction() bool {
if o != nil && !isNil(o.Action) {
return true
}
return false
}
// SetAction gets a reference to the given string and assigns it to the Action field.
func (o *BackchannelAuthenticationResponse) SetAction(v string) {
o.Action = &v
}
// GetResponseContent returns the ResponseContent field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetResponseContent() string {
if o == nil || isNil(o.ResponseContent) {
var ret string
return ret
}
return *o.ResponseContent
}
// GetResponseContentOk returns a tuple with the ResponseContent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetResponseContentOk() (*string, bool) {
if o == nil || isNil(o.ResponseContent) {
return nil, false
}
return o.ResponseContent, true
}
// HasResponseContent returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasResponseContent() bool {
if o != nil && !isNil(o.ResponseContent) {
return true
}
return false
}
// SetResponseContent gets a reference to the given string and assigns it to the ResponseContent field.
func (o *BackchannelAuthenticationResponse) SetResponseContent(v string) {
o.ResponseContent = &v
}
// GetClientId returns the ClientId field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetClientId() int64 {
if o == nil || isNil(o.ClientId) {
var ret int64
return ret
}
return *o.ClientId
}
// GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetClientIdOk() (*int64, bool) {
if o == nil || isNil(o.ClientId) {
return nil, false
}
return o.ClientId, true
}
// HasClientId returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasClientId() bool {
if o != nil && !isNil(o.ClientId) {
return true
}
return false
}
// SetClientId gets a reference to the given int64 and assigns it to the ClientId field.
func (o *BackchannelAuthenticationResponse) SetClientId(v int64) {
o.ClientId = &v
}
// GetClientIdAlias returns the ClientIdAlias field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetClientIdAlias() string {
if o == nil || isNil(o.ClientIdAlias) {
var ret string
return ret
}
return *o.ClientIdAlias
}
// GetClientIdAliasOk returns a tuple with the ClientIdAlias field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetClientIdAliasOk() (*string, bool) {
if o == nil || isNil(o.ClientIdAlias) {
return nil, false
}
return o.ClientIdAlias, true
}
// HasClientIdAlias returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasClientIdAlias() bool {
if o != nil && !isNil(o.ClientIdAlias) {
return true
}
return false
}
// SetClientIdAlias gets a reference to the given string and assigns it to the ClientIdAlias field.
func (o *BackchannelAuthenticationResponse) SetClientIdAlias(v string) {
o.ClientIdAlias = &v
}
// GetClientIdAliasUsed returns the ClientIdAliasUsed field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetClientIdAliasUsed() bool {
if o == nil || isNil(o.ClientIdAliasUsed) {
var ret bool
return ret
}
return *o.ClientIdAliasUsed
}
// GetClientIdAliasUsedOk returns a tuple with the ClientIdAliasUsed field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetClientIdAliasUsedOk() (*bool, bool) {
if o == nil || isNil(o.ClientIdAliasUsed) {
return nil, false
}
return o.ClientIdAliasUsed, true
}
// HasClientIdAliasUsed returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasClientIdAliasUsed() bool {
if o != nil && !isNil(o.ClientIdAliasUsed) {
return true
}
return false
}
// SetClientIdAliasUsed gets a reference to the given bool and assigns it to the ClientIdAliasUsed field.
func (o *BackchannelAuthenticationResponse) SetClientIdAliasUsed(v bool) {
o.ClientIdAliasUsed = &v
}
// GetClientName returns the ClientName field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetClientName() string {
if o == nil || isNil(o.ClientName) {
var ret string
return ret
}
return *o.ClientName
}
// GetClientNameOk returns a tuple with the ClientName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetClientNameOk() (*string, bool) {
if o == nil || isNil(o.ClientName) {
return nil, false
}
return o.ClientName, true
}
// HasClientName returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasClientName() bool {
if o != nil && !isNil(o.ClientName) {
return true
}
return false
}
// SetClientName gets a reference to the given string and assigns it to the ClientName field.
func (o *BackchannelAuthenticationResponse) SetClientName(v string) {
o.ClientName = &v
}
// GetScopes returns the Scopes field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetScopes() []Scope {
if o == nil || isNil(o.Scopes) {
var ret []Scope
return ret
}
return o.Scopes
}
// GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetScopesOk() ([]Scope, bool) {
if o == nil || isNil(o.Scopes) {
return nil, false
}
return o.Scopes, true
}
// HasScopes returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasScopes() bool {
if o != nil && !isNil(o.Scopes) {
return true
}
return false
}
// SetScopes gets a reference to the given []Scope and assigns it to the Scopes field.
func (o *BackchannelAuthenticationResponse) SetScopes(v []Scope) {
o.Scopes = v
}
// GetClaimNames returns the ClaimNames field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetClaimNames() []string {
if o == nil || isNil(o.ClaimNames) {
var ret []string
return ret
}
return o.ClaimNames
}
// GetClaimNamesOk returns a tuple with the ClaimNames field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetClaimNamesOk() ([]string, bool) {
if o == nil || isNil(o.ClaimNames) {
return nil, false
}
return o.ClaimNames, true
}
// HasClaimNames returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasClaimNames() bool {
if o != nil && !isNil(o.ClaimNames) {
return true
}
return false
}
// SetClaimNames gets a reference to the given []string and assigns it to the ClaimNames field.
func (o *BackchannelAuthenticationResponse) SetClaimNames(v []string) {
o.ClaimNames = v
}
// GetClientNotificationToken returns the ClientNotificationToken field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetClientNotificationToken() string {
if o == nil || isNil(o.ClientNotificationToken) {
var ret string
return ret
}
return *o.ClientNotificationToken
}
// GetClientNotificationTokenOk returns a tuple with the ClientNotificationToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetClientNotificationTokenOk() (*string, bool) {
if o == nil || isNil(o.ClientNotificationToken) {
return nil, false
}
return o.ClientNotificationToken, true
}
// HasClientNotificationToken returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasClientNotificationToken() bool {
if o != nil && !isNil(o.ClientNotificationToken) {
return true
}
return false
}
// SetClientNotificationToken gets a reference to the given string and assigns it to the ClientNotificationToken field.
func (o *BackchannelAuthenticationResponse) SetClientNotificationToken(v string) {
o.ClientNotificationToken = &v
}
// GetAcrs returns the Acrs field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetAcrs() []string {
if o == nil || isNil(o.Acrs) {
var ret []string
return ret
}
return o.Acrs
}
// GetAcrsOk returns a tuple with the Acrs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetAcrsOk() ([]string, bool) {
if o == nil || isNil(o.Acrs) {
return nil, false
}
return o.Acrs, true
}
// HasAcrs returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasAcrs() bool {
if o != nil && !isNil(o.Acrs) {
return true
}
return false
}
// SetAcrs gets a reference to the given []string and assigns it to the Acrs field.
func (o *BackchannelAuthenticationResponse) SetAcrs(v []string) {
o.Acrs = v
}
// GetHintType returns the HintType field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetHintType() string {
if o == nil || isNil(o.HintType) {
var ret string
return ret
}
return *o.HintType
}
// GetHintTypeOk returns a tuple with the HintType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetHintTypeOk() (*string, bool) {
if o == nil || isNil(o.HintType) {
return nil, false
}
return o.HintType, true
}
// HasHintType returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasHintType() bool {
if o != nil && !isNil(o.HintType) {
return true
}
return false
}
// SetHintType gets a reference to the given string and assigns it to the HintType field.
func (o *BackchannelAuthenticationResponse) SetHintType(v string) {
o.HintType = &v
}
// GetHint returns the Hint field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetHint() string {
if o == nil || isNil(o.Hint) {
var ret string
return ret
}
return *o.Hint
}
// GetHintOk returns a tuple with the Hint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetHintOk() (*string, bool) {
if o == nil || isNil(o.Hint) {
return nil, false
}
return o.Hint, true
}
// HasHint returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasHint() bool {
if o != nil && !isNil(o.Hint) {
return true
}
return false
}
// SetHint gets a reference to the given string and assigns it to the Hint field.
func (o *BackchannelAuthenticationResponse) SetHint(v string) {
o.Hint = &v
}
// GetSub returns the Sub field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetSub() string {
if o == nil || isNil(o.Sub) {
var ret string
return ret
}
return *o.Sub
}
// GetSubOk returns a tuple with the Sub field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetSubOk() (*string, bool) {
if o == nil || isNil(o.Sub) {
return nil, false
}
return o.Sub, true
}
// HasSub returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasSub() bool {
if o != nil && !isNil(o.Sub) {
return true
}
return false
}
// SetSub gets a reference to the given string and assigns it to the Sub field.
func (o *BackchannelAuthenticationResponse) SetSub(v string) {
o.Sub = &v
}
// GetBindingMessage returns the BindingMessage field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetBindingMessage() string {
if o == nil || isNil(o.BindingMessage) {
var ret string
return ret
}
return *o.BindingMessage
}
// GetBindingMessageOk returns a tuple with the BindingMessage field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetBindingMessageOk() (*string, bool) {
if o == nil || isNil(o.BindingMessage) {
return nil, false
}
return o.BindingMessage, true
}
// HasBindingMessage returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasBindingMessage() bool {
if o != nil && !isNil(o.BindingMessage) {
return true
}
return false
}
// SetBindingMessage gets a reference to the given string and assigns it to the BindingMessage field.
func (o *BackchannelAuthenticationResponse) SetBindingMessage(v string) {
o.BindingMessage = &v
}
// GetUserCode returns the UserCode field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetUserCode() string {
if o == nil || isNil(o.UserCode) {
var ret string
return ret
}
return *o.UserCode
}
// GetUserCodeOk returns a tuple with the UserCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetUserCodeOk() (*string, bool) {
if o == nil || isNil(o.UserCode) {
return nil, false
}
return o.UserCode, true
}
// HasUserCode returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasUserCode() bool {
if o != nil && !isNil(o.UserCode) {
return true
}
return false
}
// SetUserCode gets a reference to the given string and assigns it to the UserCode field.
func (o *BackchannelAuthenticationResponse) SetUserCode(v string) {
o.UserCode = &v
}
// GetUserCodeRequired returns the UserCodeRequired field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetUserCodeRequired() bool {
if o == nil || isNil(o.UserCodeRequired) {
var ret bool
return ret
}
return *o.UserCodeRequired
}
// GetUserCodeRequiredOk returns a tuple with the UserCodeRequired field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetUserCodeRequiredOk() (*bool, bool) {
if o == nil || isNil(o.UserCodeRequired) {
return nil, false
}
return o.UserCodeRequired, true
}
// HasUserCodeRequired returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasUserCodeRequired() bool {
if o != nil && !isNil(o.UserCodeRequired) {
return true
}
return false
}
// SetUserCodeRequired gets a reference to the given bool and assigns it to the UserCodeRequired field.
func (o *BackchannelAuthenticationResponse) SetUserCodeRequired(v bool) {
o.UserCodeRequired = &v
}
// GetRequestedExpiry returns the RequestedExpiry field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetRequestedExpiry() int32 {
if o == nil || isNil(o.RequestedExpiry) {
var ret int32
return ret
}
return *o.RequestedExpiry
}
// GetRequestedExpiryOk returns a tuple with the RequestedExpiry field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetRequestedExpiryOk() (*int32, bool) {
if o == nil || isNil(o.RequestedExpiry) {
return nil, false
}
return o.RequestedExpiry, true
}
// HasRequestedExpiry returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasRequestedExpiry() bool {
if o != nil && !isNil(o.RequestedExpiry) {
return true
}
return false
}
// SetRequestedExpiry gets a reference to the given int32 and assigns it to the RequestedExpiry field.
func (o *BackchannelAuthenticationResponse) SetRequestedExpiry(v int32) {
o.RequestedExpiry = &v
}
// GetRequestContext returns the RequestContext field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetRequestContext() string {
if o == nil || isNil(o.RequestContext) {
var ret string
return ret
}
return *o.RequestContext
}
// GetRequestContextOk returns a tuple with the RequestContext field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetRequestContextOk() (*string, bool) {
if o == nil || isNil(o.RequestContext) {
return nil, false
}
return o.RequestContext, true
}
// HasRequestContext returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasRequestContext() bool {
if o != nil && !isNil(o.RequestContext) {
return true
}
return false
}
// SetRequestContext gets a reference to the given string and assigns it to the RequestContext field.
func (o *BackchannelAuthenticationResponse) SetRequestContext(v string) {
o.RequestContext = &v
}
// GetWarnings returns the Warnings field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetWarnings() []string {
if o == nil || isNil(o.Warnings) {
var ret []string
return ret
}
return o.Warnings
}
// GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetWarningsOk() ([]string, bool) {
if o == nil || isNil(o.Warnings) {
return nil, false
}
return o.Warnings, true
}
// HasWarnings returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasWarnings() bool {
if o != nil && !isNil(o.Warnings) {
return true
}
return false
}
// SetWarnings gets a reference to the given []string and assigns it to the Warnings field.
func (o *BackchannelAuthenticationResponse) SetWarnings(v []string) {
o.Warnings = v
}
// GetTicket returns the Ticket field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetTicket() string {
if o == nil || isNil(o.Ticket) {
var ret string
return ret
}
return *o.Ticket
}
// GetTicketOk returns a tuple with the Ticket field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetTicketOk() (*string, bool) {
if o == nil || isNil(o.Ticket) {
return nil, false
}
return o.Ticket, true
}
// HasTicket returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasTicket() bool {
if o != nil && !isNil(o.Ticket) {
return true
}
return false
}
// SetTicket gets a reference to the given string and assigns it to the Ticket field.
func (o *BackchannelAuthenticationResponse) SetTicket(v string) {
o.Ticket = &v
}
// GetResources returns the Resources field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetResources() []string {
if o == nil || isNil(o.Resources) {
var ret []string
return ret
}
return o.Resources
}
// GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetResourcesOk() ([]string, bool) {
if o == nil || isNil(o.Resources) {
return nil, false
}
return o.Resources, true
}
// HasResources returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasResources() bool {
if o != nil && !isNil(o.Resources) {
return true
}
return false
}
// SetResources gets a reference to the given []string and assigns it to the Resources field.
func (o *BackchannelAuthenticationResponse) SetResources(v []string) {
o.Resources = v
}
// GetAuthorizationDetails returns the AuthorizationDetails field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetAuthorizationDetails() AuthzDetails {
if o == nil || isNil(o.AuthorizationDetails) {
var ret AuthzDetails
return ret
}
return *o.AuthorizationDetails
}
// GetAuthorizationDetailsOk returns a tuple with the AuthorizationDetails field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetAuthorizationDetailsOk() (*AuthzDetails, bool) {
if o == nil || isNil(o.AuthorizationDetails) {
return nil, false
}
return o.AuthorizationDetails, true
}
// HasAuthorizationDetails returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasAuthorizationDetails() bool {
if o != nil && !isNil(o.AuthorizationDetails) {
return true
}
return false
}
// SetAuthorizationDetails gets a reference to the given AuthzDetails and assigns it to the AuthorizationDetails field.
func (o *BackchannelAuthenticationResponse) SetAuthorizationDetails(v AuthzDetails) {
o.AuthorizationDetails = &v
}
// GetServiceAttributes returns the ServiceAttributes field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetServiceAttributes() []Pair {
if o == nil || isNil(o.ServiceAttributes) {
var ret []Pair
return ret
}
return o.ServiceAttributes
}
// GetServiceAttributesOk returns a tuple with the ServiceAttributes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetServiceAttributesOk() ([]Pair, bool) {
if o == nil || isNil(o.ServiceAttributes) {
return nil, false
}
return o.ServiceAttributes, true
}
// HasServiceAttributes returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasServiceAttributes() bool {
if o != nil && !isNil(o.ServiceAttributes) {
return true
}
return false
}
// SetServiceAttributes gets a reference to the given []Pair and assigns it to the ServiceAttributes field.
func (o *BackchannelAuthenticationResponse) SetServiceAttributes(v []Pair) {
o.ServiceAttributes = v
}
// GetClientAttributes returns the ClientAttributes field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetClientAttributes() []Pair {
if o == nil || isNil(o.ClientAttributes) {
var ret []Pair
return ret
}
return o.ClientAttributes
}
// GetClientAttributesOk returns a tuple with the ClientAttributes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetClientAttributesOk() ([]Pair, bool) {
if o == nil || isNil(o.ClientAttributes) {
return nil, false
}
return o.ClientAttributes, true
}
// HasClientAttributes returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasClientAttributes() bool {
if o != nil && !isNil(o.ClientAttributes) {
return true
}
return false
}
// SetClientAttributes gets a reference to the given []Pair and assigns it to the ClientAttributes field.
func (o *BackchannelAuthenticationResponse) SetClientAttributes(v []Pair) {
o.ClientAttributes = v
}
// GetDynamicScopes returns the DynamicScopes field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetDynamicScopes() []DynamicScope {
if o == nil || isNil(o.DynamicScopes) {
var ret []DynamicScope
return ret
}
return o.DynamicScopes
}
// GetDynamicScopesOk returns a tuple with the DynamicScopes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetDynamicScopesOk() ([]DynamicScope, bool) {
if o == nil || isNil(o.DynamicScopes) {
return nil, false
}
return o.DynamicScopes, true
}
// HasDynamicScopes returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasDynamicScopes() bool {
if o != nil && !isNil(o.DynamicScopes) {
return true
}
return false
}
// SetDynamicScopes gets a reference to the given []DynamicScope and assigns it to the DynamicScopes field.
func (o *BackchannelAuthenticationResponse) SetDynamicScopes(v []DynamicScope) {
o.DynamicScopes = v
}
// GetDeliveryMode returns the DeliveryMode field value if set, zero value otherwise.
func (o *BackchannelAuthenticationResponse) GetDeliveryMode() DeliveryMode {
if o == nil || isNil(o.DeliveryMode) {
var ret DeliveryMode
return ret
}
return *o.DeliveryMode
}
// GetDeliveryModeOk returns a tuple with the DeliveryMode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *BackchannelAuthenticationResponse) GetDeliveryModeOk() (*DeliveryMode, bool) {
if o == nil || isNil(o.DeliveryMode) {
return nil, false
}
return o.DeliveryMode, true
}
// HasDeliveryMode returns a boolean if a field has been set.
func (o *BackchannelAuthenticationResponse) HasDeliveryMode() bool {
if o != nil && !isNil(o.DeliveryMode) {
return true
}
return false
}
// SetDeliveryMode gets a reference to the given DeliveryMode and assigns it to the DeliveryMode field.
func (o *BackchannelAuthenticationResponse) SetDeliveryMode(v DeliveryMode) {
o.DeliveryMode = &v
}