Documentation ¶
Index ¶
- type AuthenticationPhoneMethodClient
- func (c AuthenticationPhoneMethodClient) CreateAuthenticationPhoneMethod(ctx context.Context, id beta.UserId, input beta.PhoneAuthenticationMethod, ...) (result CreateAuthenticationPhoneMethodOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) DeleteAuthenticationPhoneMethod(ctx context.Context, id beta.UserIdAuthenticationPhoneMethodId, ...) (result DeleteAuthenticationPhoneMethodOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethod(ctx context.Context, id beta.UserIdAuthenticationPhoneMethodId, ...) (result GetAuthenticationPhoneMethodOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethodsCount(ctx context.Context, id beta.UserId, ...) (result GetAuthenticationPhoneMethodsCountOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethods(ctx context.Context, id beta.UserId, ...) (result ListAuthenticationPhoneMethodsOperationResponse, err error)
- func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsComplete(ctx context.Context, id beta.UserId, ...) (ListAuthenticationPhoneMethodsCompleteResult, error)
- func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, ...) (result ListAuthenticationPhoneMethodsCompleteResult, err error)
- func (c AuthenticationPhoneMethodClient) UpdateAuthenticationPhoneMethod(ctx context.Context, id beta.UserIdAuthenticationPhoneMethodId, ...) (result UpdateAuthenticationPhoneMethodOperationResponse, err error)
- type CreateAuthenticationPhoneMethodOperationOptions
- type CreateAuthenticationPhoneMethodOperationResponse
- type DeleteAuthenticationPhoneMethodOperationOptions
- type DeleteAuthenticationPhoneMethodOperationResponse
- 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 beta.UserId, input beta.PhoneAuthenticationMethod, options CreateAuthenticationPhoneMethodOperationOptions) (result CreateAuthenticationPhoneMethodOperationResponse, err error)
CreateAuthenticationPhoneMethod - Create phoneAuthenticationMethod. Add a new phone authentication method. 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 preexisting mobile phone will fail. 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 multifactor 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 beta.UserIdAuthenticationPhoneMethodId, options DeleteAuthenticationPhoneMethodOperationOptions) (result DeleteAuthenticationPhoneMethodOperationResponse, err error)
DeleteAuthenticationPhoneMethod - Delete navigation property phoneMethods for users
func (AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethod ¶
func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethod(ctx context.Context, id beta.UserIdAuthenticationPhoneMethodId, options GetAuthenticationPhoneMethodOperationOptions) (result GetAuthenticationPhoneMethodOperationResponse, err error)
GetAuthenticationPhoneMethod - Get phoneMethods from users. Represents the phone registered to a user for authentication.
func (AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethodsCount ¶
func (c AuthenticationPhoneMethodClient) GetAuthenticationPhoneMethodsCount(ctx context.Context, id beta.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 beta.UserId, options ListAuthenticationPhoneMethodsOperationOptions) (result ListAuthenticationPhoneMethodsOperationResponse, err error)
ListAuthenticationPhoneMethods - Get phoneMethods from users. Represents the phone registered to a user for authentication.
func (AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsComplete ¶
func (c AuthenticationPhoneMethodClient) ListAuthenticationPhoneMethodsComplete(ctx context.Context, id beta.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 beta.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 beta.UserIdAuthenticationPhoneMethodId, input beta.PhoneAuthenticationMethod, options UpdateAuthenticationPhoneMethodOperationOptions) (result UpdateAuthenticationPhoneMethodOperationResponse, err error)
UpdateAuthenticationPhoneMethod - Update phoneAuthenticationMethod. Update the phone number associated with a phone authentication method. 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 attempts 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 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 []beta.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 beta.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