Documentation ¶
Index ¶
- type AuthenticationPhoneMethodClient
- func (c AuthenticationPhoneMethodClient) CreateAuthenticationPhoneMethod(ctx context.Context, id stable.UserId, input stable.PhoneAuthenticationMethod, ...) (result CreateAuthenticationPhoneMethodOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) DeleteAuthenticationPhoneMethod(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, ...) (result DeleteAuthenticationPhoneMethodOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) DisableAuthenticationPhoneMethodSmsSignIn(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, ...) (result DisableAuthenticationPhoneMethodSmsSignInOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) EnableAuthenticationPhoneMethodSmsSignIn(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, ...) (result EnableAuthenticationPhoneMethodSmsSignInOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethod(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, ...) (result GetAuthenticationPhoneMethodOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethodsCount(ctx context.Context, id stable.UserId, ...) (result GetAuthenticationPhoneMethodsCountOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethods(ctx context.Context, id stable.UserId, ...) (result ListAuthenticationPhoneMethodsOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsComplete(ctx context.Context, id stable.UserId, ...) (ListAuthenticationPhoneMethodsCompleteResult, error)
- func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsCompleteMatchingPredicate(ctx context.Context, id stable.UserId, ...) (result ListAuthenticationPhoneMethodsCompleteResult, err error)
- func (c AuthenticationPhoneMethodClient) UpdateAuthenticationPhoneMethod(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, ...) (result UpdateAuthenticationPhoneMethodOperationResponse, err error)
- type CreateAuthenticationPhoneMethodOperationOptions
- type CreateAuthenticationPhoneMethodOperationResponse
- type DeleteAuthenticationPhoneMethodOperationOptions
- type DeleteAuthenticationPhoneMethodOperationResponse
- type DisableAuthenticationPhoneMethodSmsSignInOperationOptions
- type DisableAuthenticationPhoneMethodSmsSignInOperationResponse
- type EnableAuthenticationPhoneMethodSmsSignInOperationOptions
- type EnableAuthenticationPhoneMethodSmsSignInOperationResponse
- type GetAuthenticationPhoneMethodOperationOptions
- type GetAuthenticationPhoneMethodOperationResponse
- type GetAuthenticationPhoneMethodsCountOperationOptions
- type GetAuthenticationPhoneMethodsCountOperationResponse
- type ListAuthenticationPhoneMethodsCompleteResult
- type ListAuthenticationPhoneMethodsCustomPager
- type ListAuthenticationPhoneMethodsOperationOptions
- type ListAuthenticationPhoneMethodsOperationResponse
- type PhoneAuthenticationMethodOperationPredicate
- type UpdateAuthenticationPhoneMethodOperationOptions
- type UpdateAuthenticationPhoneMethodOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationPhoneMethodClient ¶
func NewAuthenticationPhoneMethodClientWithBaseURI ¶
func NewAuthenticationPhoneMethodClientWithBaseURI(sdkApi sdkEnv.Api) (*AuthenticationPhoneMethodClient, error)
func (AuthenticationPhoneMethodClient) CreateAuthenticationPhoneMethod ¶
func (c AuthenticationPhoneMethodClient) CreateAuthenticationPhoneMethod(ctx context.Context, id stable.UserId, input stable.PhoneAuthenticationMethod, options CreateAuthenticationPhoneMethodOperationOptions) (result CreateAuthenticationPhoneMethodOperationResponse, err error)
CreateAuthenticationPhoneMethod - Create phoneMethod. Add a new phone authentication method for a user. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a pre-existing mobile phone fails. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multi-factor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system.
func (AuthenticationPhoneMethodClient) DeleteAuthenticationPhoneMethod ¶
func (c AuthenticationPhoneMethodClient) DeleteAuthenticationPhoneMethod(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, options DeleteAuthenticationPhoneMethodOperationOptions) (result DeleteAuthenticationPhoneMethodOperationResponse, err error)
DeleteAuthenticationPhoneMethod - Delete navigation property phoneMethods for users
func (AuthenticationPhoneMethodClient) DisableAuthenticationPhoneMethodSmsSignIn ¶
func (c AuthenticationPhoneMethodClient) DisableAuthenticationPhoneMethodSmsSignIn(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, options DisableAuthenticationPhoneMethodSmsSignInOperationOptions) (result DisableAuthenticationPhoneMethodSmsSignInOperationResponse, err error)
DisableAuthenticationPhoneMethodSmsSignIn - Invoke action disableSmsSignIn. Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.
func (AuthenticationPhoneMethodClient) EnableAuthenticationPhoneMethodSmsSignIn ¶
func (c AuthenticationPhoneMethodClient) EnableAuthenticationPhoneMethodSmsSignIn(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, options EnableAuthenticationPhoneMethodSmsSignInOperationOptions) (result EnableAuthenticationPhoneMethodSmsSignInOperationResponse, err error)
EnableAuthenticationPhoneMethodSmsSignIn - Invoke action enableSmsSignIn. Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled
func (AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethod ¶
func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethod(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, options GetAuthenticationPhoneMethodOperationOptions) (result GetAuthenticationPhoneMethodOperationResponse, err error)
GetAuthenticationPhoneMethod - Get phoneMethods from users. The phone numbers registered to a user for authentication.
func (AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethodsCount ¶
func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethodsCount(ctx context.Context, id stable.UserId, options GetAuthenticationPhoneMethodsCountOperationOptions) (result GetAuthenticationPhoneMethodsCountOperationResponse, err error)
GetAuthenticationPhoneMethodsCount - Get the number of the resource
func (AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethods ¶
func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethods(ctx context.Context, id stable.UserId, options ListAuthenticationPhoneMethodsOperationOptions) (result ListAuthenticationPhoneMethodsOperationResponse, err error)
ListAuthenticationPhoneMethods - Get phoneMethods from users. The phone numbers registered to a user for authentication.
func (AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsComplete ¶
func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsComplete(ctx context.Context, id stable.UserId, options ListAuthenticationPhoneMethodsOperationOptions) (ListAuthenticationPhoneMethodsCompleteResult, error)
ListAuthenticationPhoneMethodsComplete retrieves all the results into a single object
func (AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsCompleteMatchingPredicate ¶
func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsCompleteMatchingPredicate(ctx context.Context, id stable.UserId, options ListAuthenticationPhoneMethodsOperationOptions, predicate PhoneAuthenticationMethodOperationPredicate) (result ListAuthenticationPhoneMethodsCompleteResult, err error)
ListAuthenticationPhoneMethodsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AuthenticationPhoneMethodClient) UpdateAuthenticationPhoneMethod ¶
func (c AuthenticationPhoneMethodClient) UpdateAuthenticationPhoneMethod(ctx context.Context, id stable.UserIdAuthenticationPhoneMethodId, input stable.PhoneAuthenticationMethod, options UpdateAuthenticationPhoneMethodOperationOptions) (result UpdateAuthenticationPhoneMethodOperationResponse, err error)
UpdateAuthenticationPhoneMethod - Update phoneAuthenticationMethod. Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system.
type CreateAuthenticationPhoneMethodOperationOptions ¶
type CreateAuthenticationPhoneMethodOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateAuthenticationPhoneMethodOperationOptions ¶
func DefaultCreateAuthenticationPhoneMethodOperationOptions() CreateAuthenticationPhoneMethodOperationOptions
func (CreateAuthenticationPhoneMethodOperationOptions) ToHeaders ¶
func (o CreateAuthenticationPhoneMethodOperationOptions) ToHeaders() *client.Headers
func (CreateAuthenticationPhoneMethodOperationOptions) ToOData ¶
func (o CreateAuthenticationPhoneMethodOperationOptions) ToOData() *odata.Query
func (CreateAuthenticationPhoneMethodOperationOptions) ToQuery ¶
func (o CreateAuthenticationPhoneMethodOperationOptions) ToQuery() *client.QueryParams
type DeleteAuthenticationPhoneMethodOperationOptions ¶
type DeleteAuthenticationPhoneMethodOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteAuthenticationPhoneMethodOperationOptions ¶
func DefaultDeleteAuthenticationPhoneMethodOperationOptions() DeleteAuthenticationPhoneMethodOperationOptions
func (DeleteAuthenticationPhoneMethodOperationOptions) ToHeaders ¶
func (o DeleteAuthenticationPhoneMethodOperationOptions) ToHeaders() *client.Headers
func (DeleteAuthenticationPhoneMethodOperationOptions) ToOData ¶
func (o DeleteAuthenticationPhoneMethodOperationOptions) ToOData() *odata.Query
func (DeleteAuthenticationPhoneMethodOperationOptions) ToQuery ¶
func (o DeleteAuthenticationPhoneMethodOperationOptions) ToQuery() *client.QueryParams
type DisableAuthenticationPhoneMethodSmsSignInOperationOptions ¶
type DisableAuthenticationPhoneMethodSmsSignInOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDisableAuthenticationPhoneMethodSmsSignInOperationOptions ¶
func DefaultDisableAuthenticationPhoneMethodSmsSignInOperationOptions() DisableAuthenticationPhoneMethodSmsSignInOperationOptions
func (DisableAuthenticationPhoneMethodSmsSignInOperationOptions) ToHeaders ¶
func (o DisableAuthenticationPhoneMethodSmsSignInOperationOptions) ToHeaders() *client.Headers
func (DisableAuthenticationPhoneMethodSmsSignInOperationOptions) ToOData ¶
func (o DisableAuthenticationPhoneMethodSmsSignInOperationOptions) ToOData() *odata.Query
func (DisableAuthenticationPhoneMethodSmsSignInOperationOptions) ToQuery ¶
func (o DisableAuthenticationPhoneMethodSmsSignInOperationOptions) ToQuery() *client.QueryParams
type EnableAuthenticationPhoneMethodSmsSignInOperationOptions ¶
type EnableAuthenticationPhoneMethodSmsSignInOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultEnableAuthenticationPhoneMethodSmsSignInOperationOptions ¶
func DefaultEnableAuthenticationPhoneMethodSmsSignInOperationOptions() EnableAuthenticationPhoneMethodSmsSignInOperationOptions
func (EnableAuthenticationPhoneMethodSmsSignInOperationOptions) ToHeaders ¶
func (o EnableAuthenticationPhoneMethodSmsSignInOperationOptions) ToHeaders() *client.Headers
func (EnableAuthenticationPhoneMethodSmsSignInOperationOptions) ToOData ¶
func (o EnableAuthenticationPhoneMethodSmsSignInOperationOptions) ToOData() *odata.Query
func (EnableAuthenticationPhoneMethodSmsSignInOperationOptions) ToQuery ¶
func (o EnableAuthenticationPhoneMethodSmsSignInOperationOptions) ToQuery() *client.QueryParams
type GetAuthenticationPhoneMethodOperationOptions ¶
type GetAuthenticationPhoneMethodOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetAuthenticationPhoneMethodOperationOptions ¶
func DefaultGetAuthenticationPhoneMethodOperationOptions() GetAuthenticationPhoneMethodOperationOptions
func (GetAuthenticationPhoneMethodOperationOptions) ToHeaders ¶
func (o GetAuthenticationPhoneMethodOperationOptions) ToHeaders() *client.Headers
func (GetAuthenticationPhoneMethodOperationOptions) ToOData ¶
func (o GetAuthenticationPhoneMethodOperationOptions) ToOData() *odata.Query
func (GetAuthenticationPhoneMethodOperationOptions) ToQuery ¶
func (o GetAuthenticationPhoneMethodOperationOptions) ToQuery() *client.QueryParams
type GetAuthenticationPhoneMethodsCountOperationOptions ¶
type GetAuthenticationPhoneMethodsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetAuthenticationPhoneMethodsCountOperationOptions ¶
func DefaultGetAuthenticationPhoneMethodsCountOperationOptions() GetAuthenticationPhoneMethodsCountOperationOptions
func (GetAuthenticationPhoneMethodsCountOperationOptions) ToHeaders ¶
func (o GetAuthenticationPhoneMethodsCountOperationOptions) ToHeaders() *client.Headers
func (GetAuthenticationPhoneMethodsCountOperationOptions) ToOData ¶
func (o GetAuthenticationPhoneMethodsCountOperationOptions) ToOData() *odata.Query
func (GetAuthenticationPhoneMethodsCountOperationOptions) ToQuery ¶
func (o GetAuthenticationPhoneMethodsCountOperationOptions) ToQuery() *client.QueryParams
type ListAuthenticationPhoneMethodsCompleteResult ¶
type ListAuthenticationPhoneMethodsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.PhoneAuthenticationMethod }
type ListAuthenticationPhoneMethodsCustomPager ¶
type ListAuthenticationPhoneMethodsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListAuthenticationPhoneMethodsCustomPager) NextPageLink ¶
func (p *ListAuthenticationPhoneMethodsCustomPager) NextPageLink() *odata.Link
type ListAuthenticationPhoneMethodsOperationOptions ¶
type ListAuthenticationPhoneMethodsOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListAuthenticationPhoneMethodsOperationOptions ¶
func DefaultListAuthenticationPhoneMethodsOperationOptions() ListAuthenticationPhoneMethodsOperationOptions
func (ListAuthenticationPhoneMethodsOperationOptions) ToHeaders ¶
func (o ListAuthenticationPhoneMethodsOperationOptions) ToHeaders() *client.Headers
func (ListAuthenticationPhoneMethodsOperationOptions) ToOData ¶
func (o ListAuthenticationPhoneMethodsOperationOptions) ToOData() *odata.Query
func (ListAuthenticationPhoneMethodsOperationOptions) ToQuery ¶
func (o ListAuthenticationPhoneMethodsOperationOptions) ToQuery() *client.QueryParams
type PhoneAuthenticationMethodOperationPredicate ¶
type PhoneAuthenticationMethodOperationPredicate struct { }
func (PhoneAuthenticationMethodOperationPredicate) Matches ¶
func (p PhoneAuthenticationMethodOperationPredicate) Matches(input stable.PhoneAuthenticationMethod) bool
type UpdateAuthenticationPhoneMethodOperationOptions ¶
type UpdateAuthenticationPhoneMethodOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateAuthenticationPhoneMethodOperationOptions ¶
func DefaultUpdateAuthenticationPhoneMethodOperationOptions() UpdateAuthenticationPhoneMethodOperationOptions
func (UpdateAuthenticationPhoneMethodOperationOptions) ToHeaders ¶
func (o UpdateAuthenticationPhoneMethodOperationOptions) ToHeaders() *client.Headers
func (UpdateAuthenticationPhoneMethodOperationOptions) ToOData ¶
func (o UpdateAuthenticationPhoneMethodOperationOptions) ToOData() *odata.Query
func (UpdateAuthenticationPhoneMethodOperationOptions) ToQuery ¶
func (o UpdateAuthenticationPhoneMethodOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createauthenticationphonemethod.go
- method_deleteauthenticationphonemethod.go
- method_disableauthenticationphonemethodsmssignin.go
- method_enableauthenticationphonemethodsmssignin.go
- method_getauthenticationphonemethod.go
- method_getauthenticationphonemethodscount.go
- method_listauthenticationphonemethods.go
- method_updateauthenticationphonemethod.go
- predicates.go
- version.go