Main Content

getCustomLoginProvider

Get registered custom authentication callback function name for OSLC client

Since R2021b

    Description

    authenticationFunction = getCustomLoginProvider(myClient) returns the custom authentication callback function name registered to the OSLC client myClient.

    example

    Examples

    collapse all

    This example shows how to get the name of the custom authentication callback function that is registered to an OSLC client object.

    After you have created and registered a custom authentication callback function to an OSLC client object as described in Authenticate a Client that Requires an Advanced Authentication, get the registered authentication callback function name for the OSLC client object myClient.

    authenticationFunction = getCustomLoginProvider(myClient)
    authenticationFunction =
    
        'myCustomLoginProvider'
    

    Input Arguments

    collapse all

    OSLC client, specified as an oslc.Client object.

    Output Arguments

    collapse all

    Custom authentication callback function name, returned as a character vector.

    Version History

    Introduced in R2021b