org.wso2.carbon.device.mgt.mobile.windows.api.services.authbst.impl

## Class BSTProviderImpl

- java.lang.Object
- - org.wso2.carbon.device.mgt.mobile.windows.api.services.authbst.impl.BSTProviderImpl

- All Implemented Interfaces:
    BSTProvider

      public class BSTProviderImpl
      extends Object
      implements BSTProvider

  Implementation class of BSTProvider interface which authenticates the credentials comes via MDM login page.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BSTProviderImpl()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | `getBST(Credentials credentials)` This method validates the device user, checking passed credentials and returns the corresponding binary security token which is used in XCEP and WSTEP stages for authentication.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BSTProviderImpl

          public BSTProviderImpl()

  - ### Method Detail

    - #### getBST

          public javax.ws.rs.core.Response getBST(Credentials credentials)
                                           throws WindowsDeviceEnrolmentException

      This method validates the device user, checking passed credentials and returns the corresponding binary security token which is used in XCEP and WSTEP stages for authentication.
      Specified by:
        `getBST` in interface `BSTProvider`
      Parameters:
        `credentials` - - Credential object passes from the wab page.
      Returns:
        - Response with binary security token.
      Throws:
        `WindowsDeviceEnrolmentException`

Copyright © 2017 WSO2. All rights reserved.