UNPKG

@asgardeo/auth-react

Version:
48 lines 1.42 kB
/** * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ /** * AuthContext reducer actions enum. */ export declare enum AuthContextReducerActionTypes { SET_SIGN_IN = "SET_SIGN_IN", SET_SIGN_OUT = "SET_SIGN_OUT", SET_PROFILE_INFO = "SET_PROFILE_INFO" } /** * Set Sign In State reducer action. */ export declare const setSignIn: (response: any) => { payload: any; type: AuthContextReducerActionTypes; }; /** * Set Sign Out State reducer action. */ export declare const setSignOut: () => { type: AuthContextReducerActionTypes; }; /** * Set Profile Info reducer action. * * @param {any} details - Profile details */ export declare const setProfileInfo: (details: any) => { payload: any; type: AuthContextReducerActionTypes; }; //# sourceMappingURL=actions.d.ts.map