Documentation ¶
Index ¶
- type AuthenticationPhoneMethodClient
- func (c AuthenticationPhoneMethodClient) CreateAuthenticationPhoneMethod(ctx context.Context, input stable.PhoneAuthenticationMethod, ...) (result CreateAuthenticationPhoneMethodOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) DeleteAuthenticationPhoneMethod(ctx context.Context, id stable.MeAuthenticationPhoneMethodId, ...) (result DeleteAuthenticationPhoneMethodOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) DisableAuthenticationPhoneMethodSmsSignIn(ctx context.Context, id stable.MeAuthenticationPhoneMethodId, ...) (result DisableAuthenticationPhoneMethodSmsSignInOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) EnableAuthenticationPhoneMethodSmsSignIn(ctx context.Context, id stable.MeAuthenticationPhoneMethodId, ...) (result EnableAuthenticationPhoneMethodSmsSignInOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethod(ctx context.Context, id stable.MeAuthenticationPhoneMethodId, ...) (result GetAuthenticationPhoneMethodOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethodsCount(ctx context.Context, ...) (result GetAuthenticationPhoneMethodsCountOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethods(ctx context.Context, options ListAuthenticationPhoneMethodsOperationOptions) (result ListAuthenticationPhoneMethodsOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsComplete(ctx context.Context, options ListAuthenticationPhoneMethodsOperationOptions) (ListAuthenticationPhoneMethodsCompleteResult, error)
- func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsCompleteMatchingPredicate(ctx context.Context, options ListAuthenticationPhoneMethodsOperationOptions, ...) (result ListAuthenticationPhoneMethodsCompleteResult, err error)
- func (c AuthenticationPhoneMethodClient) UpdateAuthenticationPhoneMethod(ctx context.Context, id stable.MeAuthenticationPhoneMethodId, ...) (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, input stable.PhoneAuthenticationMethod, options CreateAuthenticationPhoneMethodOperationOptions) (result CreateAuthenticationPhoneMethodOperationResponse, err error)
CreateAuthenticationPhoneMethod - Create new navigation property to phoneMethods for me
func (AuthenticationPhoneMethodClient) DeleteAuthenticationPhoneMethod ¶
func (c AuthenticationPhoneMethodClient) DeleteAuthenticationPhoneMethod(ctx context.Context, id stable.MeAuthenticationPhoneMethodId, options DeleteAuthenticationPhoneMethodOperationOptions) (result DeleteAuthenticationPhoneMethodOperationResponse, err error)
DeleteAuthenticationPhoneMethod - Delete phoneAuthenticationMethod. Delete a user's phone authentication method. This removes the phone number from the user and they'll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can't have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it can't be deleted. Have the user change their default authentication method, and then delete the number.
func (AuthenticationPhoneMethodClient) DisableAuthenticationPhoneMethodSmsSignIn ¶
func (c AuthenticationPhoneMethodClient) DisableAuthenticationPhoneMethodSmsSignIn(ctx context.Context, id stable.MeAuthenticationPhoneMethodId, 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.MeAuthenticationPhoneMethodId, 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.MeAuthenticationPhoneMethodId, options GetAuthenticationPhoneMethodOperationOptions) (result GetAuthenticationPhoneMethodOperationResponse, err error)
GetAuthenticationPhoneMethod - Get phoneAuthenticationMethod. Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users.
func (AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethodsCount ¶
func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethodsCount(ctx context.Context, options GetAuthenticationPhoneMethodsCountOperationOptions) (result GetAuthenticationPhoneMethodsCountOperationResponse, err error)
GetAuthenticationPhoneMethodsCount - Get the number of the resource
func (AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethods ¶
func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethods(ctx context.Context, options ListAuthenticationPhoneMethodsOperationOptions) (result ListAuthenticationPhoneMethodsOperationResponse, err error)
ListAuthenticationPhoneMethods - List phoneMethods. Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users.
func (AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsComplete ¶
func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsComplete(ctx context.Context, options ListAuthenticationPhoneMethodsOperationOptions) (ListAuthenticationPhoneMethodsCompleteResult, error)
ListAuthenticationPhoneMethodsComplete retrieves all the results into a single object
func (AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsCompleteMatchingPredicate ¶
func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsCompleteMatchingPredicate(ctx context.Context, 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.MeAuthenticationPhoneMethodId, input stable.PhoneAuthenticationMethod, options UpdateAuthenticationPhoneMethodOperationOptions) (result UpdateAuthenticationPhoneMethodOperationResponse, err error)
UpdateAuthenticationPhoneMethod - Update the navigation property phoneMethods in me
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