File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -406,6 +406,8 @@ export const AppProvider = ({ children }: { children: ReactNode }) => {
406406 } , [ auth ] ) ;
407407
408408 /**
409+ * Login with GitHub App.
410+ *
409411 * Note: although we call this "Login with GitHub App", this function actually
410412 * authenticates via a predefined "Gitify" GitHub OAuth App.
411413 */
@@ -420,7 +422,7 @@ export const AppProvider = ({ children }: { children: ReactNode }) => {
420422 } , [ auth , persistAuth ] ) ;
421423
422424 /**
423- * Login with custom GitHub OAuth App
425+ * Login with custom GitHub OAuth App.
424426 */
425427 const loginWithOAuthApp = useCallback (
426428 async ( data : LoginOAuthAppOptions ) => {
@@ -439,6 +441,9 @@ export const AppProvider = ({ children }: { children: ReactNode }) => {
439441 [ auth , persistAuth ] ,
440442 ) ;
441443
444+ /**
445+ * Login with Personal Access Token (PAT).
446+ */
442447 const loginWithPersonalAccessToken = useCallback (
443448 async ( { token, hostname } : LoginPersonalAccessTokenOptions ) => {
444449 const encryptedToken = ( await encryptValue ( token ) ) as Token ;
You can’t perform that action at this time.
0 commit comments